//
//  ViewController.swift
//  LNGLimitTextViewDemo
//
//  Created by sun on 2022/8/3.
//

import UIKit
import SnapKit

class ViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        setupUI()
    }
    
    func setupUI() {
        let textView = LNGLimitTextView.init(frame: CGRect.init(x: 20, y: 100, width: UIScreen.main.bounds.width - 40, height: 180), placeholder: "请输入信息", limitNumber: 100)
        textView.backgroundColor = .lightGray
        view.addSubview(textView)
    }
}

